﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TX.Core;
using TX.Passport.Models;   

namespace TX.Passport.Repositories
{
    /// <summary>
    /// 授权存储库
    /// </summary>
    public interface IAuthorizationRepository{        
        IQueryable<Authorization> GetAuthorizations(QueryOption<Authorization> option = null);
        Authorization AddAuthorization(Authorization model);
        void RemoveAuthorization(Authorization model);
        void UpdateAuthorization(Authorization model);
    }
}